﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using OfficeOpenXml.Table;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AUTO.TechnicalDependence.Dto
{
    /// <summary>
    /// 报表导出-新品开发及试作品准备
    /// </summary>
    [ExcelExporter(Name = "AUTO新销售技术依赖书流程报表数据", TableStyle = TableStyles.Light10, AutoFitAllColumn = true)]
    public class ExportTD1Output
    {
        /// <summary>
        /// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string SerialNumber { get; set; }

        /// <summary>
        /// 流程编号
        /// </summary>
        [ExporterHeader(DisplayName = "流程编号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 接收工厂
        /// </summary>
        [ExporterHeader(DisplayName = "接收工厂")]
        public string ReceiveFactory { get; set; }

        ///// <summary>
        ///// 事业部
        ///// </summary>
        //[ExporterHeader(DisplayName = "事业部")]
        //public string AppoverType { get; set; }
        /// <summary>
        /// 行业
        /// </summary>
        [ExporterHeader(DisplayName = "行业")]
        public string AutoType { get; set; }
        ///// <summary>
        ///// 细分市场
        ///// </summary>
        //[ExporterHeader(DisplayName = "细分市场")]
        //public string SubAutoType { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "客户编码")]
        public string CustomerNo { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 流程创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "流程创建时间")]
        public string CreateTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 销售依赖书需求
        /// </summary>
        [ExporterHeader(DisplayName = "销售依赖书需求")]
        public string SalesDependencyType { get; set; }

        /// <summary>
        /// 样漆名称
        /// </summary>
        [ExporterHeader(DisplayName = "样漆名称")]
        public string PaintName { get; set; }

        /// <summary>
        /// 样漆所需样板数量
        /// </summary>
        [ExporterHeader(DisplayName = "样漆所需样板数量（块）")]
        public string SampleQty { get; set; }

        /// <summary>
        /// 样漆单桶涂料重量（KG）
        /// </summary>
        [ExporterHeader(DisplayName = "样漆单桶涂料重量（KG）")]
        public string SingleWeight { get; set; }

        /// <summary>
        /// 样漆需要样漆桶数（DR）
        /// </summary>
        [ExporterHeader(DisplayName = "样漆需要样漆桶数（DR）")]
        public string Barrels { get; set; }

        /// <summary>
        /// 样漆需求总重量（KG）
        /// </summary>
        [ExporterHeader(DisplayName = "样漆需求总重量（KG）")]
        public string TotalWeight { get; set; }

        /// <summary>
        /// 样漆到达客户时间
        /// </summary>
        [ExporterHeader(DisplayName = "样漆到达客户时间")]
        public string ArrivalTime { get; set; }

        /// <summary>
        /// 样漆期望成本(RMB/KG)
        /// </summary>
        [ExporterHeader(DisplayName = "样漆期望成本(RMB/KG)")]
        public string ExpectedCost { get; set; }

        /// <summary>
        /// 样漆客户是否开票
        /// </summary>
        [ExporterHeader(DisplayName = "样漆客户是否开票")]
        public string IsInvoicing { get; set; }

        /// <summary>
        /// 颜色量产时间
        /// </summary>
        [ExporterHeader(DisplayName = "颜色量产时间")]
        public string MassProductionTime { get; set; }

        /// <summary>
        /// 颜色量产后每月用量（KG）
        /// </summary>
        [ExporterHeader(DisplayName = "颜色量产后每月用量（KG）")]
        public string MonthlyDosage { get; set; }

        /// <summary>
        /// 特殊需求
        /// </summary>
        [ExporterHeader(DisplayName = "特殊需求")]
        public string SpecialNeeds { get; set; }

        /// <summary>
        /// 试制回数
        /// </summary>
        [ExporterHeader(DisplayName = "试制回数")]
        public string TrialTimes { get; set; }

        /// <summary>
        /// 试制管理号
        /// </summary>
        [ExporterHeader(DisplayName = "试制管理号")]
        public string TrialNumber { get; set; }

        /// <summary>
        /// 试制计划完成时间
        /// </summary>
        [ExporterHeader(DisplayName = "试制计划完成时间")]
        public string PlanCompletionTime { get; set; }

        /// <summary>
        /// 产品担当开发意见
        /// </summary>
        [ExporterHeader(DisplayName = "产品担当开发意见")]
        public string Suggestion { get; set; }

        /// <summary>
        /// 试制完成时间
        /// </summary>
        [ExporterHeader(DisplayName = "试制完成时间")]
        public string FinishTime { get; set; }

        /// <summary>
        /// 样漆实际入库量（KG）
        /// </summary>
        [ExporterHeader(DisplayName = "样漆实际入库量（KG）")]
        public string ActualFinishWeight { get; set; }

        /// <summary>
        /// 试线结果 （成功/失败）
        /// </summary>
        [ExporterHeader(DisplayName = "试线结果")]
        public string LineTestResult { get; set; }
              
    }
}
